package com.example.nonacademic_education.data.response;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@ContentRowHeight(30)
public class ProjectExcelDto {
    @ExcelProperty("序号")
    private Integer seq;
    @ExcelProperty("项目名称")
    @ColumnWidth(15)
    private String name;//培训项目名
    @ExcelProperty("开始时间")
    @ColumnWidth(20)
    //@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date startDate;
    @ExcelProperty("结束时间")
    @ColumnWidth(20)
    //@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date endDate;
    @ExcelProperty("办学方式")
    @ColumnWidth(15)
    private String establishType;
    @ExcelProperty("收费标准(人/元/天)")
    @ColumnWidth(15)
    private String charge;
    @ExcelProperty("学费总额(万元)")
    @ColumnWidth(15)
    private String tuitionFee;
    @ExcelProperty("培训人数")
    @ColumnWidth(15)
    private String trainingNum;
    @ExcelProperty("合作方")
    @ColumnWidth(20)
    private String cooperation;
    @ExcelProperty("培训负责人")
    @ColumnWidth(15)
    private String adminName;//二级管理员Id
    @ExcelProperty("负责人联系电话")
    @ColumnWidth(15)
    private String adminPhone;//二级管理员Id
    @ExcelProperty("培训联系人")
    @ColumnWidth(15)
    private String contactName;
    @ExcelProperty("联系人电话")
    @ColumnWidth(15)
    private String contactPhone;
    @ExcelProperty("办学地点")
    @ColumnWidth(30)
    private String establishAddress;
    @ExcelProperty("备注")
    private String note;//备注信息
}
